<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>transform-translate</title>
    <style>
      div{
          width:100px;
          height:75px;
          background-color:yellow;
          border:1px solid black;

      }
      div#div2
      {
          transform:translate(50px,100px);
          -ms-transform:translate(50px,100px); /* IE 9 */
          -moz-transform:translate(50px,100px); /* Firefox */
          -webkit-transform:translate(50px,100px); /* Safari and Chrome */
          -o-transform:translate(50px,100px); /* Opera */
      }
    </style>
</head>
<body>

<div>你好。这是一个div元素。</div>
<div id="div2">你好。这是一个div元素。</div>
</body>
</html>